#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int t = 0, x = 0;
	scanf("%d", &x);
	do
	{
		t++;
		x /= 10;
	} while (x);
	printf("%d", t);
	return 0;
}